00001 /*! 00002 * \file 00003 * X-Forge Engine <br> 00004 * Copyright 2000-2003 Fathammer Ltd 00005 * 00006 * \brief Interface for receiving communication events. 00007 * 00008 * $Id: XFuNetworkEventHandler.h,v 1.1 2003/08/01 07:41:24 lars Exp $ 00009 * $Date: 2003/08/01 07:41:24 $ 00010 * $Revision: 1.1 $ 00011 */ 00012 00013 #ifndef XFUNETWORKEVENTHANDLER_H_INCLUDED 00014 #define XFUNETWORKEVENTHANDLER_H_INCLUDED 00015 00016 class XFcHostEntry; 00017 00018 00019 //! Interface for receiving communication events. 00020 class XFuNetworkEventHandler 00021 { 00022 00023 public: 00024 00025 //! Virtual destructor. 00026 virtual ~XFuNetworkEventHandler() {} 00027 00028 //! Gets called when a new client has been accepted. 00029 virtual void handleClientAccepted(INT32 /* aClientId */) {} 00030 00031 //! Gets called when the connection to a client has been lost. 00032 virtual void handleClientLost(INT32 /* aClientId */) {} 00033 00034 //! Gets called when the device list is received. 00035 virtual void handleDeviceDiscovered(const XFcHostEntry * /* aHostEntry */) {} 00036 00037 //! Gets called when the advertise list is received. 00038 virtual void handleAdvertiseDiscovered(const XFcAdvertiser * /* aAdvertiser */) {} 00039 00040 }; 00041 00042 #endif // !XFUNETWORKEVENTHANDLER_H_INCLUDED
![]() | ||||
![]() |
Confidential Copyright © 2002-2003 Fathammer | with doxygen by Dimitri van Heesch |